file extension description More...
Public Member Functions | |
CFileExtension (UTF8StringPtr description, UTF8StringPtr extension, UTF8StringPtr mimeType=0, int32_t macType=0, UTF8StringPtr uti=0) | |
CFileExtension (const CFileExtension &ext) | |
~CFileExtension () | |
UTF8StringPtr | getDescription () const |
UTF8StringPtr | getExtension () const |
UTF8StringPtr | getMimeType () const |
UTF8StringPtr | getUTI () const |
int32_t | getMacType () const |
bool | operator== (const CFileExtension &ext) const |
Reference Counting Methods | |
virtual void | forget () |
decrease refcount and delete object if refcount == 0 | |
virtual void | remember () |
increase refcount | |
virtual int32_t | getNbReference () const |
get refcount | |
Message Methods | |
virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Protected Member Functions | |
void | init (UTF8StringPtr description, UTF8StringPtr extension, UTF8StringPtr mimeType, UTF8StringPtr uti) |
Protected Attributes | |
UTF8StringBuffer | description |
UTF8StringBuffer | extension |
UTF8StringBuffer | mimeType |
UTF8StringBuffer | uti |
int32_t | macType |
file extension description
CFileExtension | ( | UTF8StringPtr | description, | |
UTF8StringPtr | extension, | |||
UTF8StringPtr | mimeType = 0 , |
|||
int32_t | macType = 0 , |
|||
UTF8StringPtr | uti = 0 | |||
) |
CFileExtension | ( | const CFileExtension & | ext | ) |
~CFileExtension | ( | ) |
virtual void forget | ( | ) | [inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
UTF8StringPtr getDescription | ( | ) | const [inline] |
UTF8StringPtr getExtension | ( | ) | const [inline] |
int32_t getMacType | ( | ) | const [inline] |
UTF8StringPtr getMimeType | ( | ) | const [inline] |
virtual int32_t getNbReference | ( | ) | const [inline, virtual, inherited] |
get refcount
UTF8StringPtr getUTI | ( | ) | const [inline] |
void init | ( | UTF8StringPtr | description, | |
UTF8StringPtr | extension, | |||
UTF8StringPtr | mimeType, | |||
UTF8StringPtr | uti | |||
) | [protected] |
virtual CMessageResult notify | ( | CBaseObject * | sender, | |
IdStringPtr | message | |||
) | [inline, virtual, inherited] |
bool operator== | ( | const CFileExtension & | ext | ) | const |
virtual void remember | ( | ) | [inline, virtual, inherited] |
increase refcount
UTF8StringBuffer description [protected] |
UTF8StringBuffer extension [protected] |
int32_t macType [protected] |
UTF8StringBuffer mimeType [protected] |
UTF8StringBuffer uti [protected] |